mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +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:
@@ -106,7 +106,7 @@ func genTestPoolTxs(
|
||||
fromAcc := getAccountByIdx(poolTx.FromIdx, accs)
|
||||
fromAddr := ethAddrToHez(fromAcc.EthAddr)
|
||||
genReceiveTx.FromEthAddr = &fromAddr
|
||||
fromBjj := bjjToString(fromAcc.PublicKey)
|
||||
fromBjj := bjjToString(fromAcc.BJJ)
|
||||
genReceiveTx.FromBJJ = &fromBjj
|
||||
if poolTx.ToIdx != 0 {
|
||||
toIdx := idxToHez(poolTx.ToIdx, token.Symbol)
|
||||
@@ -128,7 +128,7 @@ func genTestPoolTxs(
|
||||
genReceiveTx.ToBJJ = &toBJJ
|
||||
} else if poolTx.ToIdx > 255 {
|
||||
acc := getAccountByIdx(poolTx.ToIdx, accs)
|
||||
bjj := bjjToString(acc.PublicKey)
|
||||
bjj := bjjToString(acc.BJJ)
|
||||
genReceiveTx.ToBJJ = &bjj
|
||||
}
|
||||
if poolTx.RqFromIdx != 0 {
|
||||
|
||||
Reference in New Issue
Block a user