diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 80f06efb9..5824a0649 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -54,7 +54,7 @@ var ( ErrInvalidBlockIndex error = errors.New("invalid block index") ) var ( - genAmount = []int{8, 7, 6, 5, 4, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} + genAmount = []int{6, 5, 4, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} decrementInterval = 2000000 persistInterval = 1 * time.Second ) diff --git a/pkg/rpc/server/server_test.go b/pkg/rpc/server/server_test.go index 73dd0f226..f4b38862c 100644 --- a/pkg/rpc/server/server_test.go +++ b/pkg/rpc/server/server_test.go @@ -147,7 +147,7 @@ var rpcTestCases = map[string][]rpcTestCase{ }, { Asset: e.chain.UtilityTokenHash(), - Amount: "924.01732700", + Amount: "918.01738700", LastUpdated: 6, }}, Address: testchain.PrivateKeyByID(0).GetScriptHash().StringLE(), @@ -229,7 +229,7 @@ var rpcTestCases = map[string][]rpcTestCase{ Timestamp: blockSendNEO.Timestamp, Asset: e.chain.UtilityTokenHash(), Address: "", // Minted GAS. - Amount: "23.99976000", + Amount: "17.99982000", Index: 4, NotifyIndex: 0, TxHash: txSendNEOHash, @@ -565,8 +565,7 @@ var rpcTestCases = map[string][]rpcTestCase{ check: func(t *testing.T, e *executor, resp interface{}) { s, ok := resp.(*string) require.True(t, ok) - // Incorrect, to be fixed later. - assert.Equal(t, "48000", *s) + assert.Equal(t, "36000", *s) }, }, },