mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Update Account.PublicKey to Account.BJJ
Update account.PublicKey to account.BJJ for naming consistency with the rest of the code
This commit is contained in:
@@ -45,7 +45,7 @@ func genTestAccounts(accounts []common.Account, tokens []historydb.TokenWithUSD)
|
||||
tAccount := testAccount{
|
||||
ItemID: uint64(x + 1),
|
||||
Idx: apitypes.HezIdx(idxToHez(account.Idx, token.Symbol)),
|
||||
PublicKey: apitypes.NewHezBJJ(account.PublicKey),
|
||||
PublicKey: apitypes.NewHezBJJ(account.BJJ),
|
||||
EthAddr: apitypes.NewHezEthAddr(account.EthAddr),
|
||||
Nonce: account.Nonce,
|
||||
Balance: apitypes.NewBigIntStr(account.Balance),
|
||||
|
||||
Reference in New Issue
Block a user