src/main/TransactionOutput.java
public boolean isMine(PublicKey publicKey) {
        if(publicKey.equals(reciepient)){
            return true;
        }else{
            return false;
        }
	}
// Check if a coin belongs to you
Check if a coin belongs to you
Check if a coin belongs to you
public boolean isMine(PublicKey publicKey) {
        if(publicKey.equals(reciepient)){
            return true;
        }else{
            return false;
        }
	}
public boolean isMine ( PublicKey publicKey ) { if ( publicKey . equals ( reciepient ) ) { return true ; } else { return false ; } }
Check if a coin belongs to you
Check if a coin belongs to you