Fix PoolL2Tx.RqTxCompressedData

This commit is contained in:
arnaucube
2020-10-14 18:30:58 +02:00
parent 17ff917a20
commit d7a1ba19b9
4 changed files with 40 additions and 34 deletions

View File

@@ -30,7 +30,7 @@ type PoolL2TxWrite struct {
RqTokenID *common.TokenID `meddler:"rq_token_id"`
RqAmount *big.Int `meddler:"rq_amount,bigintnull"`
RqFee *common.FeeSelector `meddler:"rq_fee"`
RqNonce *uint64 `meddler:"rq_nonce"`
RqNonce *common.Nonce `meddler:"rq_nonce"`
Type common.TxType `meddler:"tx_type"`
}
@@ -53,7 +53,7 @@ type PoolL2TxRead struct {
RqTokenID *common.TokenID `meddler:"rq_token_id"`
RqAmount *big.Int `meddler:"rq_amount,bigintnull"`
RqFee *common.FeeSelector `meddler:"rq_fee"`
RqNonce *uint64 `meddler:"rq_nonce"`
RqNonce *common.Nonce `meddler:"rq_nonce"`
Type common.TxType `meddler:"tx_type"`
// Extra read fileds
BatchNum *common.BatchNum `meddler:"batch_num"`