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 09af364 commit 29957bc
Show file tree
Hide file tree
Showing 56 changed files with 13,283 additions and 537 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 29957bc

Please sign in to comment.