Skip to content

Commit

Permalink
chore: rename INTEGRATION_TEST_SENDER_PRIVATE_KEY to AETERNITY_ALICE_…
Browse files Browse the repository at this point in the history
…PRIVATE_KEY
  • Loading branch information
randomshinichi committed Jan 21, 2020
1 parent 6b8280f commit 07d4a51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration_test/testsetup.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
)

var sender = "ak_2a1j2Mk9YSmC1gioUq4PWRm3bsv887MbuRVwyv4KaUGoR1eiKi"
var senderPrivateKey = os.Getenv("INTEGRATION_TEST_SENDER_PRIVATE_KEY")
var recipientPrivateKey = os.Getenv("INTEGRATION_TEST_RECEIVER_PRIVATE_KEY")
var alicePrivateKey = os.Getenv("AETERNITY_ALICE_PRIVATE_KEY")
var bobPrivateKey = os.Getenv("AETERNITY_BOB_PRIVATE_KEY")
var privatenetURL = "http://localhost:3013"
var testnetURL = "http://sdk-testnet.aepps.com"
var networkID = "ae_docker"
Expand All @@ -30,12 +30,12 @@ func setupNetwork(t *testing.T, nodeURL string, debug bool) *naet.Node {
}

func setupAccounts(t *testing.T) (*account.Account, *account.Account) {
alice, err := account.FromHexString(senderPrivateKey)
alice, err := account.FromHexString(alicePrivateKey)
if err != nil {
t.Fatal(err)
}

bob, err := account.FromHexString(recipientPrivateKey)
bob, err := account.FromHexString(bobPrivateKey)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 07d4a51

Please sign in to comment.