You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (ak == null) returnwithError(ErrorCodes.STATE,"The account signing this transaction must have a public key");
2166
-
PeerStatusps=s.getPeer(ak);
2167
-
if (ps==null) returnwithError(ErrorCodes.STATE,"Peer does not exist for this account and account key: "+ak.toChecksumHex());
2168
-
if (!ps.getController().equals(address)) returnwithError(ErrorCodes.STATE,"Current address "+address+" is not the controller of this peer account");
2163
+
PeerStatusps=s.getPeer(peerKey);
2164
+
if (ps==null) returnwithError(ErrorCodes.STATE,"Peer does not exist for key: "+peerKey);
2165
+
if (!Utils.equals(ps.getController(),address)) returnwithError(ErrorCodes.STATE,"Current address "+address+" is not the controller of this peer account");
2169
2166
2170
2167
HashlastStateHash = s.getHash();
2171
2168
// TODO: should use complete Map
2172
2169
// at the moment only :url is used in the data map
0 commit comments