Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
457813723 committed Mar 4, 2024
1 parent 361476f commit 6d4320f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txtool/update_sub_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (s *SubAccountTxTool) BuildUpdateSubAccountTx(p *ParamBuildUpdateSubAccount
TxBuilderBase: s.TxBuilderBase,
DasCore: s.DasCore,
}
if txFee < common.UserCellTxFeeLimit {
if txFee > common.UserCellTxFeeLimit {
changeCapacity := txBuilder.Transaction.Outputs[len(txBuilder.Transaction.Outputs)-1].Capacity
changeCapacity = changeCapacity - txFee
log.Infof("BuildCreateSubAccountTx txSize: %d", sizeInBlock)
Expand Down

0 comments on commit 6d4320f

Please sign in to comment.