nervosnetwork / fiber

15 stars 8 forks source link

chore: remove unused struct and tweak log (too many logs) #107

Closed quake closed 2 months ago

chenyukang commented 2 months ago

Suggest only print tx_hash at here (two peers will send the same tx content) https://github.com/nervosnetwork/cfn-node/blob/e7e210f061a1191305a78ec8f4e1d3550e63f187/src/ckb/network.rs#L468-L472

since we will also print the whole shutdown tx at: https://github.com/nervosnetwork/cfn-node/blob/e7e210f061a1191305a78ec8f4e1d3550e63f187/src/ckb/network.rs#L457

quake commented 2 months ago

Suggest only print tx_hash at here (two peers will send the same tx content)

https://github.com/nervosnetwork/cfn-node/blob/e7e210f061a1191305a78ec8f4e1d3550e63f187/src/ckb/network.rs#L468-L472

since we will also print the whole shutdown tx at:

https://github.com/nervosnetwork/cfn-node/blob/e7e210f061a1191305a78ec8f4e1d3550e63f187/src/ckb/network.rs#L457

resolved in #108