OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Match fee strategy (#507)
[bytom/vapor.git]
/
application
/
mov
/
match
/
match_test.go
diff --git
a/application/mov/match/match_test.go
b/application/mov/match/match_test.go
index
c14067b
..
ffa5398
100644
(file)
--- a/
application/mov/match/match_test.go
+++ b/
application/mov/match/match_test.go
@@
-75,6
+75,16
@@
func TestGenerateMatchedTxs(t *testing.T) {
mock.MatchedTxs[6],
},
},
mock.MatchedTxs[6],
},
},
+ {
+ desc: "multiple assets as a fee",
+ tradePairs: []*common.TradePair{btc2eth, eth2btc},
+ initStoreOrders: []*common.Order{
+ mock.Btc2EthOrders[0], mock.Eth2BtcOrders[3],
+ },
+ wantMatchedTxs: []*types.Tx{
+ mock.MatchedTxs[11],
+ },
+ },
}
for i, c := range cases {
}
for i, c := range cases {