Skip to content
Merged

mv big0 #1855

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions core/state_quota.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ import (
"math/big"
)

var (
big0 = big.NewInt(0)
)

func (st *StateTransition) preQuotaCheck() error {
if st.uploading() {
// log.Debug("state_transition", "uploading", st.uploading(), "st.state.GetNum(st.to())", st.state.GetNum(st.to()))
Expand Down
3 changes: 0 additions & 3 deletions core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ The state transitioning model does all the necessary work to work out a valid ne
5) Run Script section
6) Derive new state root
*/
var (
big0 = big.NewInt(0)
)

// StateTransition is the state of current tx in vm
type StateTransition struct {
Expand Down