Skip to content

Commit 130fe3e

Browse files
committed
Merge branch 'make-permissionless' of https://github.com/bazo-blockchain/bazo-client into make-permissionless
2 parents 48c89f7 + 39c6a1b commit 130fe3e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

network/incoming.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var (
1313
BlockChan = make(chan interface{})
1414
BlockHeaderChan = make(chan interface{})
1515
FundsTxChan = make(chan interface{})
16-
ContractTxChan = make(chan interface{})
16+
ContractTxChan = make(chan interface{})
1717
ConfigTxChan = make(chan interface{})
1818
StakeTxChan = make(chan interface{})
1919
AccChan = make(chan interface{})
@@ -38,8 +38,8 @@ func processIncomingMsg(p *peer, header *p2p.Header, payload []byte) {
3838
blockHeaderRes(p, payload)
3939
case p2p.FUNDSTX_RES:
4040
txRes(p, payload, p2p.FUNDSTX_RES)
41-
case p2p.ACCTX_RES:
42-
txRes(p, payload, p2p.ACCTX_RES)
41+
case p2p.CONTRACTTX_RES:
42+
txRes(p, payload, p2p.CONTRACTTX_RES)
4343
case p2p.CONFIGTX_RES:
4444
txRes(p, payload, p2p.CONFIGTX_RES)
4545
case p2p.STAKETX_RES:

network/responses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func txRes(p *peer, payload []byte, txType uint8) {
3838
return
3939
}
4040
FundsTxChan <- fundsTx
41-
case p2p.ACCTX_RES:
41+
case p2p.CONTRACTTX_RES:
4242
var contractTx *protocol.ContractTx
4343
contractTx = contractTx.Decode(payload)
4444
if contractTx == nil {

0 commit comments

Comments
 (0)