Skip to content

Commit

Permalink
fix embedded test
Browse files Browse the repository at this point in the history
  • Loading branch information
znn committed Apr 12, 2023
1 parent 82fc845 commit cdabb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/embedded/embedded_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

func TestDumpContractsABIMethods(t *testing.T) {
dumps := make([]string, 0)
for addr, contract := range htlcEmbedded {
for addr, contract := range originEmbedded {
for _, method := range contract.abi.Methods {
dumps = append(dumps, fmt.Sprintf(`{"address":"%v", "name":"%v", "id":"%v", "signature":"%v"}`, addr, method.Name, hex.EncodeToString(method.Id()), method.Sig()))
}
Expand Down

0 comments on commit cdabb26

Please sign in to comment.