Skip to content

Commit

Permalink
Merge branch 'master' into s/wallet-connect-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan authored Jan 9, 2024
2 parents 676c25d + d0af57e commit d17c34f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rust/tw_bitcoin/tests/p2pkh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use tw_proto::BitcoinV2::Proto;
use tw_proto::Utxo::Proto as UtxoProto;

#[test]
fn coin_entry_emtpy() {
fn coin_entry_empty() {
let _coin = TestCoinContext::default();
let alice_private_key = hex("56429688a1a6b00b90ccd22a0de0a376b6569d8684022ae92229a28478bfb657");

Expand Down
2 changes: 1 addition & 1 deletion samples/cpp/sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int main() {
cout << endl;
cout << " *** DISCLAIMER ***" << endl;
cout << " THIS IS A SAMPLE APPLICATION WITH DEMONSTRATION PURPOSES ONLY." << endl;
cout << " DO NOT USE WITH REAL SECRETS, REAL ADDRESSESS, OR REAL TRANSACTIONS. USE IT AT YOUR OWN RISK." << endl;
cout << " DO NOT USE WITH REAL SECRETS, REAL ADDRESSES, OR REAL TRANSACTIONS. USE IT AT YOUR OWN RISK." << endl;
cout << " *** DISCLAIMER ***" << endl;
cout << endl;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Bitcoin/MessageSigner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ using namespace TW;

namespace TW::Bitcoin {

// lenght-encode a message string
// length-encode a message string
Data messageToData(const std::string& message) {
Data d;
TW::encodeVarInt(message.size(), d);
Expand Down
2 changes: 1 addition & 1 deletion src/Bitcoin/SigningInput.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class SigningInput {
uint32_t lockTime = 0;
uint32_t time = 0;

// Besides to_address and change_addres,
// Besides to_address and change_address,
// we have other outputs that include address and value
std::vector<std::pair<std::string, int64_t>> extraOutputs;

Expand Down

0 comments on commit d17c34f

Please sign in to comment.