Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Dec 4, 2020
1 parent 95b9378 commit 1d26915
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions runtime/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ func TestAccountStorageStorage(t *testing.T) {

runtimeInterface := &testRuntimeInterface{
storage: storage,
getSigningAccounts: func() ([]Address, error) {
return []Address{{42}}, nil
getSigningAccounts: func() []Address {
return []Address{{42}}
},
getStorageUsed: func(_ Address) (uint64, error) {
var amount uint64 = 0
Expand All @@ -330,13 +330,10 @@ func TestAccountStorageStorage(t *testing.T) {
nextTransactionLocation := newTransactionLocationGenerator()

err := runtime.ExecuteTransaction(
Script{
Source: script,
},
Context{
Interface: runtimeInterface,
Location: nextTransactionLocation(),
},
script,
nil,
runtimeInterface,
nextTransactionLocation(),
)
require.NoError(t, err)

Expand Down

0 comments on commit 1d26915

Please sign in to comment.