Skip to content

Commit

Permalink
Fix: RPC error. (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinyuchan authored Oct 21, 2024
1 parent b80519f commit 1208c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm-exporter/src/getter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ impl Getter for PgGetter {
self.conn
.get()?
.query_one(
"SELECT balance FROM balance WHERE address = $1 AND height = $2",
&[&format!("{:?}", address).to_lowercase(), &(height as i64)],
"SELECT balance FROM balance WHERE address = $1",
&[&format!("{:?}", address).to_lowercase()],
)?
.get("balance"),
)?)
Expand Down

0 comments on commit 1208c5e

Please sign in to comment.