diff --git a/app/components/AppState.js b/app/components/AppState.js index cd142cb..2d4aed4 100644 --- a/app/components/AppState.js +++ b/app/components/AppState.js @@ -55,6 +55,8 @@ export class Transaction { amount: number; + position: string; + confirmations: number; txid: string; diff --git a/app/components/Transactions.js b/app/components/Transactions.js index bae816e..45cf2ef 100644 --- a/app/components/Transactions.js +++ b/app/components/Transactions.js @@ -301,7 +301,7 @@ export default class Transactions extends Component { )} {transactions && transactions.slice(0, numTxnsToShow).map(t => { - const key = t.type + t.txid + t.address; + const key = t.type + t.txid + (t.position || ''); return ( { const detail = new TxDetail(); diff --git a/native/Cargo.lock b/native/Cargo.lock index 96ccfdb..fded189 100644 --- a/native/Cargo.lock +++ b/native/Cargo.lock @@ -2496,7 +2496,7 @@ dependencies = [ [[package]] name = "zecwalletlitelib" version = "0.1.0" -source = "git+https://github.com/adityapk00/zecwallet-light-cli?rev=9631b643b185940197594994aa210dd39fec0dd3#9631b643b185940197594994aa210dd39fec0dd3" +source = "git+https://github.com/adityapk00/zecwallet-light-cli?rev=d0e7a5f635f7eb8f7c9ccd53d66680f2d5b00635#d0e7a5f635f7eb8f7c9ccd53d66680f2d5b00635" dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "bellman 0.1.0 (git+https://github.com/adityapk00/librustzcash.git?rev=98f9bda32957a6d7f0011c9a6adec13b5b80ea94)", @@ -2542,7 +2542,7 @@ dependencies = [ "neon-build 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "neon-serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "zecwalletlitelib 0.1.0 (git+https://github.com/adityapk00/zecwallet-light-cli?rev=9631b643b185940197594994aa210dd39fec0dd3)", + "zecwalletlitelib 0.1.0 (git+https://github.com/adityapk00/zecwallet-light-cli?rev=d0e7a5f635f7eb8f7c9ccd53d66680f2d5b00635)", ] [metadata] @@ -2833,4 +2833,4 @@ dependencies = [ "checksum zcash_client_backend 0.0.0 (git+https://github.com/adityapk00/librustzcash.git?rev=98f9bda32957a6d7f0011c9a6adec13b5b80ea94)" = "" "checksum zcash_primitives 0.0.0 (git+https://github.com/adityapk00/librustzcash.git?rev=98f9bda32957a6d7f0011c9a6adec13b5b80ea94)" = "" "checksum zcash_proofs 0.0.0 (git+https://github.com/adityapk00/librustzcash.git?rev=98f9bda32957a6d7f0011c9a6adec13b5b80ea94)" = "" -"checksum zecwalletlitelib 0.1.0 (git+https://github.com/adityapk00/zecwallet-light-cli?rev=9631b643b185940197594994aa210dd39fec0dd3)" = "" +"checksum zecwalletlitelib 0.1.0 (git+https://github.com/adityapk00/zecwallet-light-cli?rev=d0e7a5f635f7eb8f7c9ccd53d66680f2d5b00635)" = "" diff --git a/native/Cargo.toml b/native/Cargo.toml index 0477c01..d937085 100644 --- a/native/Cargo.toml +++ b/native/Cargo.toml @@ -14,7 +14,7 @@ crate-type = ["cdylib"] neon-build = "0.3.3" [dependencies] -zecwalletlitelib = { git = "https://github.com/adityapk00/zecwallet-light-cli", rev = "99c81bc13097341e4dc8b537ce1598a45e98ba11" } +zecwalletlitelib = { git = "https://github.com/adityapk00/zecwallet-light-cli", rev = "d0e7a5f635f7eb8f7c9ccd53d66680f2d5b00635" } neon = "0.3.3" lazy_static = "1.4.0" neon-serde = "0.2.0"