瀏覽代碼

Remove outdated TODO comments

Leo 5 年之前
父節點
當前提交
aed8f6637c
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1 1
      bridge/pkg/devnet/guardianset_vaa.go
  2. 0 1
      bridge/pkg/p2p/p2p.go

+ 1 - 1
bridge/pkg/devnet/guardianset_vaa.go

@@ -68,7 +68,7 @@ func SubmitVAA(ctx context.Context, rpcURL string, vaa *vaa.VAA) (*types.Transac
 		panic(err)
 	}
 
-	supervisor.Logger(ctx).Info("submitted VAA to Ethereum devnet", zap.Binary("binary", b)) // TODO
+	supervisor.Logger(ctx).Info("submitted VAA to Ethereum devnet", zap.Binary("binary", b))
 
 	tx, err := bridge.SubmitVAA(opts, b)
 	if err != nil {

+ 0 - 1
bridge/pkg/p2p/p2p.go

@@ -45,7 +45,6 @@ func Run(obsvC chan *gossipv1.LockupObservation,
 			// Multiple listen addresses
 			libp2p.ListenAddrStrings(
 				// Listen on QUIC only.
-				// TODO(leo): is this more or less stable than using both TCP and QUIC transports?
 				// https://github.com/libp2p/go-libp2p/issues/688
 				fmt.Sprintf("/ip4/0.0.0.0/udp/%d/quic", port),
 				fmt.Sprintf("/ip6/::/udp/%d/quic", port),