|
|
@ -73,7 +73,7 @@ func (node *Node) CreateTransactionForEnterMethod(amount int64, priKey string) e |
|
|
|
tx := types.NewTransaction( |
|
|
|
tx := types.NewTransaction( |
|
|
|
nonce, |
|
|
|
nonce, |
|
|
|
toAddress, |
|
|
|
toAddress, |
|
|
|
0, |
|
|
|
node.NodeConfig.ShardID, |
|
|
|
Amount, |
|
|
|
Amount, |
|
|
|
params.TxGas*10, |
|
|
|
params.TxGas*10, |
|
|
|
nil, |
|
|
|
nil, |
|
|
@ -141,7 +141,7 @@ func (node *Node) GetResult(priKey string) (players []string, balances []*big.In |
|
|
|
tx := types.NewTransaction( |
|
|
|
tx := types.NewTransaction( |
|
|
|
nonce, |
|
|
|
nonce, |
|
|
|
demoContractAddress, |
|
|
|
demoContractAddress, |
|
|
|
0, |
|
|
|
node.NodeConfig.ShardID, |
|
|
|
nil, |
|
|
|
nil, |
|
|
|
math.MaxUint64, |
|
|
|
math.MaxUint64, |
|
|
|
nil, |
|
|
|
nil, |
|
|
@ -192,7 +192,7 @@ func (node *Node) CreateTransactionForPickWinner() error { |
|
|
|
tx := types.NewTransaction( |
|
|
|
tx := types.NewTransaction( |
|
|
|
nonce, |
|
|
|
nonce, |
|
|
|
toAddress, |
|
|
|
toAddress, |
|
|
|
0, |
|
|
|
node.NodeConfig.ShardID, |
|
|
|
Amount, |
|
|
|
Amount, |
|
|
|
params.TxGas*1000, |
|
|
|
params.TxGas*1000, |
|
|
|
nil, |
|
|
|
nil, |
|
|
|