diff --git a/Transaction.cpp b/Transaction.cpp index c4d08940d0..74791080c3 100644 --- a/Transaction.cpp +++ b/Transaction.cpp @@ -22,6 +22,7 @@ Transaction::Transaction(TransStatus status, LocalAccount& fromLocalAccount, uin assert(fromLocalAccount.mAmount>=amount); mAccountFrom=fromLocalAccount.getAddress(); mFromPubKey=fromLocalAccount.peekPubKey(); + assert(mFromPubKey); updateFee(); sign(fromLocalAccount); }