Skip to content

Commit

Permalink
Fix for typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tate Peñaranda committed Sep 17, 2018
1 parent b13b0ac commit 73c9902
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ Example of bcoin server fire up (Listen on port 8333, so TCP 8332, 8333 and 8334
=> "37vRA5NsGtnUoCtUtFAQmDWo6ucGi3J23C"
>>>
Forget Wallet nested address
Forget Wallet nested address. (This clears Cache but doesn't update the Wallet model. You needto refresh the
Model in order to get the new address.)
>>> $wallet->forgetCurrentAddress(); //This clears Cache but doesn't update the Wallet model. You need to refresh the Model in order to get the new address.
>>> $wallet->forgetCurrentAddress();
=> true
>>> BCoinNode::getWallet('my_other_wallet')->address;
=> "38EJvoLQmn7xG2iTeZ6ED6jrVLPND7Lo62"
Expand Down Expand Up @@ -191,7 +192,7 @@ Example of bcoin server fire up (Listen on port 8333, so TCP 8332, 8333 and 8334
+"index": 1,
},
+"script": "",
+"witness": "02483045022100f2e29354bfa8b4f27704244046235e82a01779f846596e087f5d4e6c830299d302204ef0b954541ecf24041f8443bbeef66142a3eff8dfca44443134da68f29fd042012103453bb42e0e23849f7f596b85b084466c82446f902fdd1f9fdcfe221bbc58132a",
+"witness": "02483045022100f2e29354bfa8b4...596b85b084466c82446f902fdd1f9fdcfe221bbc58132a",
+"sequence": 4294967295,
+"coin": {#3158
+"version": 1,
Expand All @@ -216,7 +217,7 @@ Example of bcoin server fire up (Listen on port 8333, so TCP 8332, 8333 and 8334
},
],
+"locktime": 0,
+"hex": "010000000001019ff01e554516ca712a94027c42fec553738f7134472ba6475b17f5c84e02658a0100000000ffffffff02725d30000000000017a914946a64eaac4551014e5941e5a337586807dda4e7875a64390d00000000160014552868a890cfa468cee7a32312959846e79ad66d02483045022100f2e29354bfa8b4f27704244046235e82a01779f846596e087f5d4e6c830299d302204ef0b954541ecf24041f8443bbeef66142a3eff8dfca44443134da68f29fd042012103453bb42e0e23849f7f596b85b084466c82446f902fdd1f9fdcfe221bbc58132a00000000",
+"hex": "010000000001019ff01e554516ca712a94027c...b42e0e23849f7f596b8f902fdd1f9fdcfe221bbc58132a00000000",
+"confirmations": 216,
}
>>>
Expand Down
2 changes: 1 addition & 1 deletion src/BCoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace TPenaranda\BCoin;

use GuzzleHttp\Client as GuzzleClient;
use GuzzleHttp\Exception\{ClientException as GuzzleClientException, ServerException as GuzzleServerException}
use GuzzleHttp\Exception\{ClientException as GuzzleClientException, ServerException as GuzzleServerException};
use Illuminate\Support\Collection;
use TPenaranda\BCoin\Models\{Coin, Server, Transaction, Wallet};
use Cache;
Expand Down

0 comments on commit 73c9902

Please sign in to comment.