forked from nxtmeta/go-nxtmeta
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
104 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
applyTransaction()에서 fees 값만 갱신하고 header.Fees에 재할당하는 부분이 없어서 b.header.Fees = new(big.Int)로 되어야 할 것 같습니다.
현재 master에서도 계산 후 fee를 assign하는 부분이 없네요.
AddTx(), AddTxWithChain()이 simulated backend와 test 코드에서만 호출되고 있어서 실동작에는 문제가 없던 것으로 보입니다.
go-wemix/core/chain_makers.go
Lines 107 to 114 in cad51f5