mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
fix bug after merged feat/record_transaction branch.
This commit is contained in:
@@ -55,7 +55,7 @@ func (t *scrollTxOrm) SetScrollTxConfirmedByID(id string, txHash string) error {
|
||||
|
||||
// GetScrollTxs get scroll txs by params.
|
||||
func (t *scrollTxOrm) GetScrollTxs(fields map[string]interface{}, args ...string) ([]*stypes.ScrollTx, error) {
|
||||
query := "select id, tx_hash, sender, nonce, target, value, data, extra_data from scroll_transaction where 1 = 1"
|
||||
query := "select id, tx_hash, sender, nonce, target, value, data, note from scroll_transaction where 1 = 1"
|
||||
for key := range fields {
|
||||
query = query + fmt.Sprintf(" AND %s = :%s", key, key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user