OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
664c0fe
)
god bless us
author
paladz
<453256728@qq.com>
Wed, 25 Mar 2020 14:49:39 +0000
(22:49 +0800)
committer
paladz
<453256728@qq.com>
Wed, 25 Mar 2020 14:49:39 +0000
(22:49 +0800)
application/mov/match/engine.go
patch
|
blob
|
history
diff --git
a/application/mov/match/engine.go
b/application/mov/match/engine.go
index
d18fc51
..
17b5b6c
100644
(file)
--- a/
application/mov/match/engine.go
+++ b/
application/mov/match/engine.go
@@
-95,7
+95,7
@@
func (e *Engine) addMatchTxFeeOutput(txData *types.TxData, fees []*bc.AssetAmoun
}
for i := 0; i < refoundCount && amount > 0; i++ {
- if i == refoundCount {
+ if i == refoundCount
-1
{
averageAmount = amount
}
txData.Outputs = append(txData.Outputs, types.NewIntraChainOutput(assetID, averageAmount, refoundScript[i]))