Skip to content

Commit cf66e1d

Browse files
Update contracts/FlowIDTableStaking.cdc
Co-authored-by: Joshua Hannan <[email protected]>
1 parent 0341eca commit cf66e1d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contracts/FlowIDTableStaking.cdc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ access(all) contract FlowIDTableStaking {
182182
// Verify the proof of possesion of the private staking key
183183
assert(
184184
stakeKey.verifyPoP(stakingKeyPoP.decodeHex()),
185-
message: "Invalid Proof of Possesion for staking key"
185+
message:
186+
"FlowIDTableStaking.NodeRecord.init: Cannot create node with ID "
187+
.concat(id).concat(". The Proof of Possession (").concat(stakingKeyPoP)
188+
.concat(") for the node's staking key (").concat(") is invalid")
186189
)
187190

188191
let netKey = PublicKey(

0 commit comments

Comments
 (0)