Skip to content

Commit

Permalink
coreth: implement atomic txs
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed Aug 27, 2024
1 parent d81a026 commit f4fe57b
Show file tree
Hide file tree
Showing 59 changed files with 78,863 additions and 540 deletions.
6 changes: 6 additions & 0 deletions peer/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,12 @@ type testGossipHandler struct {
nodeID ids.NodeID
}

func (t *testGossipHandler) HandleAtomicTx(nodeID ids.NodeID, msg message.AtomicTxGossip) error {
t.received = true
t.nodeID = nodeID
return nil
}

func (t *testGossipHandler) HandleEthTxs(nodeID ids.NodeID, msg message.EthTxsGossip) error {
t.received = true
t.nodeID = nodeID
Expand Down
Loading

0 comments on commit f4fe57b

Please sign in to comment.