Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
noamnelke authored and brusherru committed Dec 22, 2021
1 parent 4d230b5 commit 03a7108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/grpcserver/grpcserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,7 @@ func TestTransactionService(t *testing.T) {
func checkTransaction(t *testing.T, tx *pb.Transaction) {
require.Equal(t, globalTx.ID().Bytes(), tx.Id.Id)
require.Equal(t, globalTx.Origin().Bytes(), tx.Sender.Address)
require.Equal(t, globalTx.GasLimit, tx.GasOffered.GasProvided)
require.Equal(t, globalTx.Fee, tx.GasOffered.GasProvided)
require.Equal(t, globalTx.Amount, tx.Amount.Value)
require.Equal(t, globalTx.AccountNonce, tx.Counter)
require.Equal(t, globalTx.Origin().Bytes(), tx.Signature.PublicKey)
Expand Down Expand Up @@ -2239,7 +2239,7 @@ func checkLayer(t *testing.T, l *pb.Layer) {
resTx := resBlock.Transactions[0]
require.Equal(t, globalTx.ID().Bytes(), resTx.Id.Id)
require.Equal(t, globalTx.Origin().Bytes(), resTx.Sender.Address)
require.Equal(t, globalTx.GasLimit, resTx.GasOffered.GasProvided)
require.Equal(t, globalTx.Fee, resTx.GasOffered.GasProvided)
require.Equal(t, globalTx.Amount, resTx.Amount.Value)
require.Equal(t, globalTx.AccountNonce, resTx.Counter)
require.Equal(t, globalTx.Signature[:], resTx.Signature.Signature)
Expand Down

0 comments on commit 03a7108

Please sign in to comment.