transaction: set feePerByte on tx construction
This commit is contained in:
parent
3097dc60e5
commit
27b3054df4
2 changed files with 7 additions and 1 deletions
|
@ -498,7 +498,12 @@ var rpcClientTestCases = map[string][]rpcClientTestCase{
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return c.GetRawTransactionVerbose(hash)
|
||||
out, err := c.GetRawTransactionVerbose(hash)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
out.Transaction.FeePerByte() // set fee per byte
|
||||
return out, nil
|
||||
},
|
||||
serverResponse: txMoveNeoVerbose,
|
||||
result: func(c *Client) interface{} {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue