Skip to content

Commit

Permalink
integration test: if cannot derive account from private key, fail tes…
Browse files Browse the repository at this point in the history
…t and say why
  • Loading branch information
randomshinichi committed Feb 28, 2019
1 parent 226427e commit 2ef4fbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration_test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ import (
func TestSpendTxWithNode(t *testing.T) {
sender := "ak_2a1j2Mk9YSmC1gioUq4PWRm3bsv887MbuRVwyv4KaUGoR1eiKi"
senderPrivateKey := os.Getenv("INTEGRATION_TEST_SENDER_PRIVATE_KEY")
senderAccount, _ := aeternity.AccountFromHexString(senderPrivateKey)
senderAccount, err := aeternity.AccountFromHexString(senderPrivateKey)
if err != nil {
t.Fatal(err)
}
recipient := "ak_Egp9yVdpxmvAfQ7vsXGvpnyfNq71msbdUpkMNYGTeTe8kPL3v"
message := "Hello World"

Expand Down

0 comments on commit 2ef4fbd

Please sign in to comment.