Skip to content

Commit

Permalink
Remove multihop logic
Browse files Browse the repository at this point in the history
  • Loading branch information
erokhinav committed Sep 2, 2024
1 parent 3714d06 commit 9092b60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions pkg/bath/dedust.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,3 @@ var DedustSwapFromTONStraw = Straw[BubbleJettonSwap]{
},
},
}

var DedustSwapPeerStraw = Straw[BubbleTx]{
CheckFuncs: []bubbleCheck{IsTx, HasOperation(abi.DedustSwapExternalMsgOp)},
Builder: func(newAction *BubbleTx, bubble *Bubble) error {
tx := bubble.Info.(BubbleTx)
newAction.decodedBody = tx.decodedBody
newAction.account.Address = tx.account.Address
return nil
},
SingleChild: &Straw[BubbleTx]{
CheckFuncs: []bubbleCheck{IsTx, HasOperation(abi.DedustSwapPeerMsgOp)},
},
}
1 change: 0 additions & 1 deletion pkg/bath/straws.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ var DefaultStraws = []Merger{
WtonMintStraw,
NftPurchaseStraw,
StonfiSwapStraw,
DedustSwapPeerStraw,
DedustSwapJettonsStraw,
DedustSwapToTONStraw,
DedustSwapFromTONStraw,
Expand Down

0 comments on commit 9092b60

Please sign in to comment.