Skip to content

Commit 41d6fed

Browse files
committed
Add missing auth id(0x02~0x05)
migrate PR from: nervosnetwork/ckb-production-scripts#75 including * eos * tron * bitcoin(Support UniSat and OKX wallet) * dogecoin Special feature for btc/etc, now they can display meaningful messages. * BTC(UniSat/OKX) You're signing: CKB (Bitcoin Layer-2) transaction: 0x{sighash_all in hex} * ETH(Metamask) You're signing: CKB transaction: 0x{sighash_all in hex}
1 parent cd764d7 commit 41d6fed

File tree

2 files changed

+4
-82
lines changed

2 files changed

+4
-82
lines changed

c/ckb_identity.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525
#define MAX_PREIMAGE_SIZE 1024
2626
#define MESSAGE_HEX_LEN 64
2727

28+
<<<<<<< HEAD
2829
const char BTC_PREFIX[] = "CKB (Bitcoin Layer) transaction: 0x";
30+
=======
31+
const char BTC_PREFIX[] = "CKB (Bitcoin Layer-2) transaction: 0x";
32+
>>>>>>> bcd9b58 (Add missing auth id(0x02~0x05))
2933
// BTC_PREFIX_LEN = 35
3034
const size_t BTC_PREFIX_LEN = sizeof(BTC_PREFIX) - 1;
3135

tests/omni_lock_rust/build.rs

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)