txId method
Calculates txid and returns it
Implementation
String txId() {
final bytes = toBytes(segwit: false);
final h = doubleHash(bytes).reversed.toList();
return bytesToHex(h);
}
Calculates txid and returns it
String txId() {
final bytes = toBytes(segwit: false);
final h = doubleHash(bytes).reversed.toList();
return bytesToHex(h);
}