bsv-wallet 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bsv/wallet_interface/version.rb +1 -1
- data/lib/bsv/wallet_interface/wallet_client.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 197c07235914aab1378df5a5bab47ca99d58d702e3f1eecd461e945239ae833c
|
|
4
|
+
data.tar.gz: 627369185e81639e43082676cd450cdeaec4605b6ddd5bcd4015f465ed5ec988
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f63f97d59d59d8288e09b01912730157fe3afca0e5ab17770153b3a995aaf0a3b7665d2891e6692b3bee251adeeadfb9497a6bd7fb479aae6fd6aef2a4c68746
|
|
7
|
+
data.tar.gz: 75bc37e08149dcb0efb5fdee7a990b2f4fa1654698c18bc2fcb93a349dfe223aa32469ec8e0d106b3e7d2e62fc361ec88b0d3e39e0b580397ecc674ed5f864e0
|
|
@@ -183,6 +183,7 @@ module BSV
|
|
|
183
183
|
tx = extract_subject_transaction(beef)
|
|
184
184
|
|
|
185
185
|
store_proofs_from_beef(beef)
|
|
186
|
+
@storage.store_transaction(tx.txid_hex, tx.to_hex)
|
|
186
187
|
process_internalize_outputs(tx, args[:outputs])
|
|
187
188
|
store_action(tx, args, status: 'completed')
|
|
188
189
|
{ accepted: true }
|
|
@@ -684,11 +685,11 @@ module BSV
|
|
|
684
685
|
|
|
685
686
|
def store_proofs_from_beef(beef)
|
|
686
687
|
beef.transactions.each do |beef_tx|
|
|
687
|
-
next unless beef_tx.transaction
|
|
688
|
+
next unless beef_tx.transaction
|
|
688
689
|
|
|
689
690
|
txid_hex = beef_tx.transaction.txid_hex
|
|
690
|
-
@proof_store.store_proof(txid_hex, beef_tx.transaction.merkle_path)
|
|
691
691
|
@storage.store_transaction(txid_hex, beef_tx.transaction.to_hex)
|
|
692
|
+
@proof_store.store_proof(txid_hex, beef_tx.transaction.merkle_path) if beef_tx.transaction.merkle_path
|
|
692
693
|
end
|
|
693
694
|
end
|
|
694
695
|
|