Skip to content

Commit cfa1406

Browse files
committed
remove old table tx field
1 parent 68f325f commit cfa1406

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/eventManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function _decryptData(pass,tx){
249249

250250
if(tx.Raw){
251251
if(pass){
252-
const algType = tx.publicKey.slice(0,2) === "47" ? "gmAlg" : "aes";
252+
const algType = tx.SigningPubKey.slice(0,2) === "47" ? "gmAlg" : "aes";
253253
tx.Raw = crypto.symDecrypt(pass, tx.Raw, algType);
254254
}else{
255255
tx.Raw = util.convertHexToString(tx.Raw);

0 commit comments

Comments
 (0)