mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-03-02 23:43:49 +00:00
*: gofmt -s
This commit is contained in:
parent
50f477b2af
commit
124c674b17
1 changed files with 8 additions and 8 deletions
|
@ -1415,26 +1415,26 @@ func testRPCProtocol(t *testing.T, doRPCCall func(string, string, *testing.T) []
|
||||||
actualp := new([]result.TransferTx)
|
actualp := new([]result.TransferTx)
|
||||||
require.NoError(t, json.Unmarshal(res, actualp))
|
require.NoError(t, json.Unmarshal(res, actualp))
|
||||||
expected := []result.TransferTx{
|
expected := []result.TransferTx{
|
||||||
result.TransferTx{
|
{
|
||||||
TxID: txNeoTo1,
|
TxID: txNeoTo1,
|
||||||
Timestamp: bNeo.Timestamp,
|
Timestamp: bNeo.Timestamp,
|
||||||
Index: bNeo.Index,
|
Index: bNeo.Index,
|
||||||
SystemFee: "0",
|
SystemFee: "0",
|
||||||
NetworkFee: "0",
|
NetworkFee: "0",
|
||||||
Elements: []result.TransferTxEvent{
|
Elements: []result.TransferTxEvent{
|
||||||
result.TransferTxEvent{
|
{
|
||||||
Address: "AKkkumHbBipZ46UMZJoFynJMXzSRnBvKcs",
|
Address: "AKkkumHbBipZ46UMZJoFynJMXzSRnBvKcs",
|
||||||
Type: "input",
|
Type: "input",
|
||||||
Value: "99999000",
|
Value: "99999000",
|
||||||
Asset: "c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
|
Asset: "c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
|
||||||
},
|
},
|
||||||
result.TransferTxEvent{
|
{
|
||||||
Address: "AWLYWXB8C9Lt1nHdDZJnC5cpYJjgRDLk17",
|
Address: "AWLYWXB8C9Lt1nHdDZJnC5cpYJjgRDLk17",
|
||||||
Type: "output",
|
Type: "output",
|
||||||
Value: "1000",
|
Value: "1000",
|
||||||
Asset: "c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
|
Asset: "c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
|
||||||
},
|
},
|
||||||
result.TransferTxEvent{
|
{
|
||||||
Address: "AKkkumHbBipZ46UMZJoFynJMXzSRnBvKcs",
|
Address: "AKkkumHbBipZ46UMZJoFynJMXzSRnBvKcs",
|
||||||
Type: "output",
|
Type: "output",
|
||||||
Value: "99998000",
|
Value: "99998000",
|
||||||
|
@ -1455,28 +1455,28 @@ func testRPCProtocol(t *testing.T, doRPCCall func(string, string, *testing.T) []
|
||||||
actualp = new([]result.TransferTx)
|
actualp = new([]result.TransferTx)
|
||||||
require.NoError(t, json.Unmarshal(res, actualp))
|
require.NoError(t, json.Unmarshal(res, actualp))
|
||||||
expected = []result.TransferTx{
|
expected = []result.TransferTx{
|
||||||
result.TransferTx{
|
{
|
||||||
TxID: txNep5Init,
|
TxID: txNep5Init,
|
||||||
Timestamp: bNep5.Timestamp,
|
Timestamp: bNep5.Timestamp,
|
||||||
Index: bNep5.Index,
|
Index: bNep5.Index,
|
||||||
SystemFee: "0",
|
SystemFee: "0",
|
||||||
NetworkFee: "0",
|
NetworkFee: "0",
|
||||||
Events: []result.TransferTxEvent{
|
Events: []result.TransferTxEvent{
|
||||||
result.TransferTxEvent{
|
{
|
||||||
To: "AeEc6DNaiVZSNJfTJ72rAFFqVKAMR5B7i3",
|
To: "AeEc6DNaiVZSNJfTJ72rAFFqVKAMR5B7i3",
|
||||||
Value: "1000000",
|
Value: "1000000",
|
||||||
Asset: testContractHashOld,
|
Asset: testContractHashOld,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
result.TransferTx{
|
{
|
||||||
TxID: txNep5Transfer,
|
TxID: txNep5Transfer,
|
||||||
Timestamp: bNep5.Timestamp,
|
Timestamp: bNep5.Timestamp,
|
||||||
Index: bNep5.Index,
|
Index: bNep5.Index,
|
||||||
SystemFee: "0",
|
SystemFee: "0",
|
||||||
NetworkFee: "0",
|
NetworkFee: "0",
|
||||||
Events: []result.TransferTxEvent{
|
Events: []result.TransferTxEvent{
|
||||||
result.TransferTxEvent{
|
{
|
||||||
From: "AeEc6DNaiVZSNJfTJ72rAFFqVKAMR5B7i3",
|
From: "AeEc6DNaiVZSNJfTJ72rAFFqVKAMR5B7i3",
|
||||||
To: "AKkkumHbBipZ46UMZJoFynJMXzSRnBvKcs",
|
To: "AKkkumHbBipZ46UMZJoFynJMXzSRnBvKcs",
|
||||||
Value: "1000",
|
Value: "1000",
|
||||||
|
|
Loading…
Add table
Reference in a new issue