• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: 提交

Golang implemented sidechain for Bytom


Commit MetaInfo

修订版b91230c075c0d8e022829e3a963b9829dd7ac78b (tree)
时间2020-03-25 23:49:39
作者paladz <453256728@qq.c...>
Commiterpaladz

Log Message

god bless us

更改概述

差异

--- 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
9595 }
9696
9797 for i := 0; i < refoundCount && amount > 0; i++ {
98- if i == refoundCount {
98+ if i == refoundCount-1 {
9999 averageAmount = amount
100100 }
101101 txData.Outputs = append(txData.Outputs, types.NewIntraChainOutput(assetID, averageAmount, refoundScript[i]))
Show on old repository browser