From 0a35ee00c6a2aa25852f9f9220d74543a88a6c5c Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 27 May 2020 23:28:20 +0300 Subject: [PATCH] core: print txes in LE in TestCreateBasicChain LE is human and RPC compatible representation, BE hex is almost unusable. --- pkg/core/helper_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/helper_test.go b/pkg/core/helper_test.go index 9ff510f05..1b18e42a4 100644 --- a/pkg/core/helper_test.go +++ b/pkg/core/helper_test.go @@ -384,7 +384,7 @@ func TestCreateBasicChain(t *testing.T) { b = bc.newBlock(initTx, transferTx) require.NoError(t, bc.AddBlock(b)) - t.Logf("recieveRublesTx: %v", transferTx.Hash().StringBE()) + t.Logf("recieveRublesTx: %v", transferTx.Hash().StringLE()) transferTx = newNEP5Transfer(sh, priv0.GetScriptHash(), priv1.GetScriptHash(), 123) transferTx.Nonce = getNextNonce() @@ -403,7 +403,7 @@ func TestCreateBasicChain(t *testing.T) { b = bc.newBlock(transferTx) require.NoError(t, bc.AddBlock(b)) - t.Logf("sendRublesTx: %v", transferTx.Hash().StringBE()) + t.Logf("sendRublesTx: %v", transferTx.Hash().StringLE()) if saveChain { outStream, err := os.Create(prefix + "testblocks.acc")